package com.chengda.dashboard.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chengda.dashboard.entity.SysTemporary;
import com.chengda.dashboard.mapper.SysTemporaryMapper;
import com.chengda.dashboard.service.SysTemporaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 系统临时数据Service实现类
 */
@Service
public class SysTemporaryServiceImpl extends ServiceImpl<SysTemporaryMapper, SysTemporary> implements SysTemporaryService {

    @Autowired
    private SysTemporaryMapper sysTemporaryMapper;

    @Override
    public String getValueByTypeAndName(Integer type, String name) {
        return sysTemporaryMapper.getValueByTypeAndName(type, name);
    }
    
    @Override
    public String getValueByTypeAndNameStr(String type, String name) {
        return sysTemporaryMapper.getValueByTypeAndNameStr(type, name);
    }
}
